
var Utility = require("../Utility/utility.js");
var Action = require("../apiaction");
exports.adminuserRouter = function(router){


    //后台用户列表列表
    router.all('/adminuser/adminuserlist',function(req,res){




        Utility.getMenuList(req,res,function(menulist){



                res.render('adminuser/adminuserlist', {
                    layout: 'pte/layout-pte',
                    active: 'adminuserlist',
                    jscript: 'adminuser/adminuserlist',
                    menulist: menulist,
                    comparam:Utility.returnCommonParam(req,res)
                })





        })



    });

    //修改个人密码
    router.all('/adminuser/updatepassword',function(req,res){

        Utility.getMenuList(req,res,function(menulist){
            res.render('adminuser/updatepassword', {
                layout: 'pte/layout-pte',
                active: 'updatepassword',
                jscript: 'adminuser/updatepassword',
                menulist: menulist,
                comparam:Utility.returnCommonParam(req,res)
            })


        })



    });




}
